<!DOCTYPE html>
<%@page pageEncoding="UTF-8" contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="EF" uri="/WEB-INF/framework/tlds/EF-2.0.tld"%>
<%
	String actionUrl = request.getContextPath() + "/DispatchAction.do";
	//String path1 = request.getContextPath() + "/DispatchAction.do?efFormEname=ZMCK31";
	//String path2 = request.getContextPath() + "/DispatchAction.do?efFormEname=ZMCK32";
	//String path3 = request.getContextPath() + "/DispatchAction.do?efFormEname=ZMCK33";
	//String path4 = request.getContextPath() + "/DispatchAction.do?efFormEname=ZMCK34";
	//String path5 = request.getContextPath() + "/DispatchAction.do?efFormEname=ZMCK35";
%>
<html>
<EF:EFHead includeDefault="true">
	<script type="text/javascript" src="./ZM/zm.js"></script>
</EF:EFHead>
<EF:EFBody>
	<EF:EFForm formId="ZMCGG" method="POST" action="<%=actionUrl%>">

		<div id="ef_tab_y" lastRange="98%" eftabWidth="100%"
			style="overflow: hidden; border-width: 0px; padding: 0px">
			<div id="tab1" title="采矿"
				eftabSrc="DispatchAction.do?efFormEname=ZMCGG0" efRemember="yes"
				style="border: 0px; padding: 0px"></div>
			<div id="tab2" title="掘进" eftabSrc="about:blank"
				efRemember="yes" style="border: 0px; padding: 0px"></div>
			<!-- <div id="tab3" title="抽放" eftabSrc="about:blank"
				efRemember="yes" style="border: 0px; padding: 0px"></div> -->
		</div>

		<EF:EFRegion />

		<EF:EFTab tabId="y" action="fundiv" />
		<script type="text/javascript"> 
			var frames = $("#ef_tab_y iframe");
			if(window.parent != window && window.parent.hideSubPageHead == true) {
				$("#ef_tab_y").css("padding-top", "8px").css("padding-left", "4px");
			}
			onSubPageLoad = function(wnd) {
				for(var i=0; i<frames.length; i++) {
					if (frames[i].contentWindow == wnd) {
						adjustFrameHeight(frames[i]);
						break;
					}
				}
			}
			adjustFrameHeight = function(frame) {
				var oldHeight = $(frame).height();
				$(frame).css("border", "0");
				$("#jquery_tab_div_content").css("border", "0");
				var height = frame.contentWindow.document.body.scrollHeight;
				/* if (height > oldHeight) { */
					$(frame).css("height", 1000);
				/* } */
			/* 	if(window.parent != window && window.parent.hideSubPageHead == true) {
					var pFrames = window.parent.frames;
					for(var i=0; i<pFrames.length; i++) {
						if (pFrames[i].contentWindow == window) {
							window.parent.adjustFrameHeight(pFrames[i]);
							break;
						}
					}
				} */
			}
			</script>
	</EF:EFForm>
</EF:EFBody>
</html>